<template>
  <div>
    <table cellspacing="0" cellpadding="0" width="100%" border="0">
      <tbody>
      <tr>
        <td>
          <div align="left">|&nbsp;&nbsp;欢迎,专家用户&nbsp;&nbsp;|&nbsp;&nbsp;<a
              class="table_t" href="/" @click="logout()">注销</a>&nbsp;&nbsp;|&nbsp;&nbsp;
            <a href="javascript:history.go(-1)">后退</a>&nbsp;&nbsp;|
          </div>
        </td>
        <td>
          <router-link to="/declare/expert/info">专家信息</router-link>
        </td>
        <td>
          <router-link to="/declare/expert/updatePassword">修改密码</router-link>
        </td>
        <td height="50">
          <router-link to="/declare/expert/projectCategories">项目管理</router-link>
        </td>
      </tr>
      </tbody>
    </table>
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: "ExpertTopNav",
  methods: {
    //注销
    logout() {
      sessionStorage.clear();
    },
  }
}
</script>

<style scoped>

</style>
